/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.uccart_project.model;

import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Ronny
 */
@Entity
@Table(name = "CONCILIACIONBANCARIA")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "ConciliacionBancaria.findAll", query = "SELECT i FROM ConciliacionBancaria i"),
    @NamedQuery(name = "ConciliacionBancaria.findByNombreEst", query = "SELECT i FROM ConciliacionBancaria i WHERE i.NombreEst = :NombreEst"),
    @NamedQuery(name = "ConciliacionBancaria.findByIdentificacion", query = "SELECT i FROM ConciliacionBancaria i WHERE i.Identificacion = :Identificacion"),
    @NamedQuery(name = "ConciliacionBancaria.findByCarrera", query = "SELECT i FROM ConciliacionBancaria i WHERE i.Carrera = :Carrera"),
    @NamedQuery(name = "ConciliacionBancaria.findByMontoPagado", query = "SELECT i FROM ConciliacionBancaria i WHERE i.MontoPagado = :MontoPagado"),
    @NamedQuery(name = "ConciliacionBancaria.findByNumeroTransaccion", query = "SELECT i FROM ConciliacionBancaria i WHERE i.NumeroTransaccion = :NumeroTransaccion"),
    @NamedQuery(name = "ConciliacionBancaria.findByNumeroCuenta", query = "SELECT i FROM ConciliacionBancaria i WHERE i.NumeroCuenta = :NumeroCuenta")})

public class ConciliacionBancaria implements Serializable {

    private static final long serialVersionUID = 1L;
    @Id
    @Basic(optional = false)
    @Column(name = "NOMBRE_EST")
    private String NombreEst;
    @Column(name = "IDENTIFICACION")
    private Integer Identificacion;
    @Column(name = "CARRERA")
    private String Carrera;
    @Column(name = "MONTO_PAGADO")
    private Integer MontoPagado;
    @Column(name = "NUMERO_TRANSACCION")
    private String NumeroTransaccion;
    @Column(name = "NUMERO_CUENTA")
    private String NumeroCuenta;
    
    public void setNombreEst(String NombreEst){
        this.NombreEst=NombreEst;
    }
    public String getNombreEst(){
        return NombreEst;
    }
    public void setIdentificacion(Integer Identificacion){
        this.Identificacion=Identificacion;
    }
    public Integer getIdentificacion(){
        return Identificacion;
    }
    public void setCarrera(String Carrera){
        this.Carrera=Carrera;
    }
    public String getCarrera(){
        return Carrera;
    }
        public void setMontoPagado(Integer MontoPagado){
        this.MontoPagado=MontoPagado;
    }
    public Integer getMontoPagado(){
        return MontoPagado;
    }
        public void setNumeroTransaccion(String NumeroTransaccion){
        this.NumeroTransaccion=NumeroTransaccion;
    }
    public String getNumeroTransaccion(){
        return NumeroTransaccion;
    }
        public void setNumeroCuenta(String NumeroCuenta){
        this.NumeroCuenta=NumeroCuenta;
    }
    public String getNumeroCuenta(){
        return NumeroCuenta;
    }

    public ConciliacionBancaria() {

    }
    
    public ConciliacionBancaria(Integer Identificacion){
        this.Identificacion = Identificacion;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (Identificacion != null ? Identificacion.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof ConciliacionBancaria)) {
            return false;
        }
        ConciliacionBancaria other = (ConciliacionBancaria) object;
        if ((this.Identificacion == null && other.Identificacion != null) || (this.Identificacion != null && !this.Identificacion.equals(other.Identificacion))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "com.uccart_project.model.ConciliacionBancaria[ Identificacion=" + Identificacion + " ]";
    }

}
